package com.schedule.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * 测试
 */
@RestController
public class HelloController {
    @GetMapping("hello")
    public Date hello(){
        Date date=new Date(100,2,1);

        return date;
    }
    @GetMapping("/yard/basic/hello")
    public String hello2(){
        return "/yard/basic/hello";
    }
    @GetMapping("/system/hello")
    public String hello3(){
        return "/system/hello";
    }
}
